package com.chance.cc.crawler.prod.command.schedule.vm.xcar;

import com.chance.cc.crawler.core.CrawlerJob;
import com.chance.cc.crawler.prod.command.job.domain.vm.xcar.realtime.XcarSeriesDiscountsRealtimeCrawlerScheduleJob;
import com.chance.cc.crawler.prod.command.schedule.CommonCrawlerJobSchedule;

/**
 * @ClassName song
 * @Description TODO
 * @Author ding
 * @Date 2021/8/29 10:21
 * @Version 1.0
 * 爱卡 车系经销商 采集
 **/
public class XcarSeriesDiscountCrawlerJobSchedule extends CommonCrawlerJobSchedule {
    public static void main(String[] args) {
        XcarCommonCrawlerScheduleJob(XcarSeriesDiscountsRealtimeCrawlerScheduleJob.xcarCwalerJob());
        //del(XcarSeriesDiscountsRealtimeCrawlerScheduleJob.xcarCwalerJob());
    }


    public static void XcarCommonCrawlerScheduleJob(CrawlerJob crawlerJob){
        crawlerJobScheduleCommand_17.republishCrawlerJob(crawlerJob.generateCrawlerTriggerKey(),device_name_1);
    }
    public static void del(CrawlerJob crawlerJob){
        crawlerJobScheduleCommand_17.deleteCrawlerJob(crawlerJob.generateCrawlerTriggerKey(),device_name_1);
    }
}
